#include "w_frmbattery.h"
#include "ui_w_frmbattery.h"

w_frmbattery::w_frmbattery(QWidget *parent) : QWidget(parent),ui(new Ui::w_frmbattery)
{
    ui->setupUi(this);
    this->initForm();
}

w_frmbattery::~w_frmbattery()
{
    delete ui;
}

void w_frmbattery::initForm()
{
    connect(ui->horizontalSlider, SIGNAL(valueChanged(int)),ui->w_battery,
                                         SLOT(setValue(int)));
    ui->horizontalSlider->setValue(30);
}
